package com.codrim.cs.data.server.rpc.report;

import com.codrim.cs.data.rpc.dto.param.StatisticDataDTO;
import com.codrim.cs.data.server.dao.entity.StatCsAdvAllDO;

/**
 * @author Liang.Zhuge on 14/08/2017.
 */
public class StatCsAdvAllHelper extends AbstractStatDataHelper<StatCsAdvAllDO> {

    @Override
    GroupKey[] groupKeys() {
        return new GroupKey[] {GroupKey.AdvertiserId, GroupKey.Symbol, GroupKey.AdvAdvertiserManangerId,
            GroupKey.AdvAffiliateManagerId};
    }

    @Override
    protected StatCsAdvAllDO initKeyFields(int sdate, StatisticDataDTO dto) {
        return new StatCsAdvAllDO(sdate, dto);
    }

}
